﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Niti.OrderManage.DTO
{
   public class CommodityDto
    {
        /// <summary>
        /// 商品唯一编号
        /// </summary>
        [Required]
        [StringLength(255)]
        public string Code { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [Required]
        [StringLength(200)]
        public string CName { get; set; }
        /// <summary>
        /// 商品单价
        /// </summary>
        [Required]
        public float CPrice { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Required]
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
    }
}
